﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BTechBids.DataModels
{
    public class Item
    {
        public int Id { get; set; }
        public int CategoryId { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public double Cost { get; set; }
        public bool IsActive { get; set; }
        public int msRemaining { get; set; }
        public virtual List<ImageUrl> Images { get; set; }
        public virtual Category Category { get; set; }

        public Item()
        {

        }
        public Item(int categoryid, string name, string description)
        {
            CategoryId = categoryid;
            Name = name;
            Description = description;
            Cost = 0.01;
            IsActive = true;
            msRemaining = 3600000;
        }
    }
}
